﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using HelloLLLLL.Blog.Models;

namespace HelloLLLLL.Blog.Admin
{
    public partial class admin : System.Web.UI.Page
    {
        public UserInfo LLuser = null;
        protected void Page_Load(object sender, EventArgs e)
        {
            LLuser = (UserInfo)Context.Session["userInfo"];

            if (LLuser == null)
            {
                Response.Redirect("/Admin/AdminLogin.aspx");
            }
        }
    }
}